<select class="form pick1 <?php echo $name; ?>">
<?php
foreach($value as $key=>$val)
{
if($val['active']==1){
?>
    <option selected="" value="<?php echo $val['id']; ?>" class="option active"><?php echo $val['name']; ?></option>
<?php
}
}
?>
</select>